package com.leyou.item.inter.vo;

import com.leyou.item.inter.pojo.Sku;
import com.leyou.item.inter.pojo.Spu;
import com.leyou.item.inter.pojo.SpuDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zqq
 * @ClassName SpuSaveDTO
 * @Description
 * @date 2020/3/7-9:50
 */
@Data
@ApiModel(value = "SpuBoVO",description = "结果类")
public class SpuBoVO  extends Spu {

    /** 商品分类名称 */
    @ApiModelProperty(value = "商品分类名称", name = "cname")
    private String cname;

    /** 品牌名称 */
    @ApiModelProperty(value = "品牌名称", name = "bname")
    private String bname;

    /** 商品详情 */
    @ApiModelProperty(value = "商品详情", name = "spuDetail")
    private SpuDetail spuDetail;

    /** sku列表 */
    @ApiModelProperty(value = "sku列表", name = "skus")
    private List<Sku> skus;
}
